package cate.common.table.pvp.ladder;

import cate.common.table.ERow;
import cate.common.table.XSSFRowWrap;
import easy.java.dev.note.NoteField;

public class LadderRobotRow extends ERow {

    @NoteField("机器人实例")
    public String instance;

    @NoteField("战力")
    public long power;

    @Override
    public void parse(XSSFRowWrap xrw) {
        super.parse(xrw);
        this.id = xrw.getInteger("ID");
        this.instance = xrw.getString("机器人实例");
        this.power = xrw.getLong("战力", 0L);
    }
}
